import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:sonora/bloc/base/sj_base_event.dart';
import 'package:sonora/models/sj_broad_caster_data.dart';

part 'sj_user_info_event.freezed.dart';

@freezed
class SjUserInfoEvent extends SjBaseEvent with _$SjUserInfoEvent {
  const factory SjUserInfoEvent.initial() = SjUserInfoEventInitial;
  const factory SjUserInfoEvent.loading() = SjUserInfoEventLoading;
  const factory SjUserInfoEvent.loadedData(SjBroadCasterData casterData) = SjUserInfoEventLoaded;
  const factory SjUserInfoEvent.loadWorksList({required String userId}) = SjUserInfoEventLoadWorksList;
  const factory SjUserInfoEvent.clickLikeButton(bool isLiked, String worksId) = SjUserInfoEventClickLikeButton;
}